<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="alert alert-warning-light">
        重要提示：

        <p>1.该设置包含设置的开始、结束费率！！！</p>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">类型:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                <label for="row[type]-1"><input id="row[type]-1" name="row[type]" type="radio" value="1" checked/> 固定</label>
                <label for="row[type]-2"><input id="row[type]-2" name="row[type]" type="radio" value="2"/> 区间</label>
            </div>

        </div>
    </div>
    <div class="form-group fix">
        <label class="control-label col-xs-12 col-sm-2">{:__('费率')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-rate" class="form-control" name="row[rate]" type="text">
        </div>
    </div>
    <div class="form-group range" style="display: none;">
        <label class="control-label col-xs-12 col-sm-2">{:__('开始费率')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start" class="form-control" name="row[start]" type="text">
        </div>
    </div>
    <div class="form-group range" style="display: none;">
        <label class="control-label col-xs-12 col-sm-2">{:__('结束费率')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end" class="form-control" name="row[end]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sort')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sort" class="form-control" name="row[sort]" type="number" value="1">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
